package com.duolaibei.business.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by xlm on 2017/11/4 0004
 */

public class OrderListData extends ResponseResult {


    /**
     * data : {"data":[{"out_trade_no":"CTHA311963791529D","body":"测试商户-1号收银","uid":"315","trade_no":"","service":"cashier","product_id":"0","pay_type":"","total_amount":"0.01","discountable_amount":"0.00","pay_amount":"0.00","pay_uid":"0","shop_id":"274","terminal_id":"810304","agent_uid":"40","workmen_uid":"40","extend":{"coupon":[]},"status":"0","paytime":"0","addtime":"1509419637","uptime":"1509419637","pay_name":"","merchant_name":"寇建波"}],"page":"1","count":"0","pay_amount":"0","refund_status":"0"}
     */

    private DataBeanX data;

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * data : [{"out_trade_no":"CTHA311963791529D","body":"测试商户-1号收银","uid":"315","trade_no":"","service":"cashier","product_id":"0","pay_type":"","total_amount":"0.01","discountable_amount":"0.00","pay_amount":"0.00","pay_uid":"0","shop_id":"274","terminal_id":"810304","agent_uid":"40","workmen_uid":"40","extend":{"coupon":[]},"status":"0","paytime":"0","addtime":"1509419637","uptime":"1509419637","pay_name":"","merchant_name":"寇建波"}]
         * page : 1
         * count : 0
         * pay_amount : 0
         * refund_status : 0
         */

        private String page;
        private String count;
        private String pay_amount;
        private String refund_status;
        private String start_time;
        private String end_time;
        private List<DataBean> data;

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public String getPay_amount() {
            return pay_amount;
        }

        public void setPay_amount(String pay_amount) {
            this.pay_amount = pay_amount;
        }

        public String getRefund_status() {
            return refund_status;
        }

        public void setRefund_status(String refund_status) {
            this.refund_status = refund_status;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * out_trade_no : CTHA311963791529D
             * body : 测试商户-1号收银
             * uid : 315
             * trade_no :
             * service : cashier
             * product_id : 0
             * pay_type :
             * total_amount : 0.01
             * discountable_amount : 0.00
             * pay_amount : 0.00
             * pay_uid : 0
             * shop_id : 274
             * terminal_id : 810304
             * agent_uid : 40
             * workmen_uid : 40
             * extend : {"coupon":[]}
             * status : 0
             * paytime : 0
             * addtime : 1509419637
             * uptime : 1509419637
             * pay_name :
             * merchant_name : 寇建波
             * remark:111
             */

            private String out_trade_no;
            private String body;
            private String uid;
            private String trade_no;
            private String service;
            private String product_id;
            private String pay_type;
            private String total_amount;
            private String discountable_amount;
            private String pay_amount;
            private String pay_uid;
            private String shop_id;
            private String terminal_id;
            private String agent_uid;
            private String workmen_uid;
            private ExtendBean extend;
            @SerializedName("status")
            private String statusX;
            private String paytime;
            private String addtime;
            private String uptime;
            private String pay_name;
            private String merchant_name;
            private String remark;

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getOut_trade_no() {
                return out_trade_no;
            }

            public void setOut_trade_no(String out_trade_no) {
                this.out_trade_no = out_trade_no;
            }

            public String getBody() {
                return body;
            }

            public void setBody(String body) {
                this.body = body;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getTrade_no() {
                return trade_no;
            }

            public void setTrade_no(String trade_no) {
                this.trade_no = trade_no;
            }

            public String getService() {
                return service;
            }

            public void setService(String service) {
                this.service = service;
            }

            public String getProduct_id() {
                return product_id;
            }

            public void setProduct_id(String product_id) {
                this.product_id = product_id;
            }

            public String getPay_type() {
                return pay_type;
            }

            public void setPay_type(String pay_type) {
                this.pay_type = pay_type;
            }

            public String getTotal_amount() {
                return total_amount;
            }

            public void setTotal_amount(String total_amount) {
                this.total_amount = total_amount;
            }

            public String getDiscountable_amount() {
                return discountable_amount;
            }

            public void setDiscountable_amount(String discountable_amount) {
                this.discountable_amount = discountable_amount;
            }

            public String getPay_amount() {
                return pay_amount;
            }

            public void setPay_amount(String pay_amount) {
                this.pay_amount = pay_amount;
            }

            public String getPay_uid() {
                return pay_uid;
            }

            public void setPay_uid(String pay_uid) {
                this.pay_uid = pay_uid;
            }

            public String getShop_id() {
                return shop_id;
            }

            public void setShop_id(String shop_id) {
                this.shop_id = shop_id;
            }

            public String getTerminal_id() {
                return terminal_id;
            }

            public void setTerminal_id(String terminal_id) {
                this.terminal_id = terminal_id;
            }

            public String getAgent_uid() {
                return agent_uid;
            }

            public void setAgent_uid(String agent_uid) {
                this.agent_uid = agent_uid;
            }

            public String getWorkmen_uid() {
                return workmen_uid;
            }

            public void setWorkmen_uid(String workmen_uid) {
                this.workmen_uid = workmen_uid;
            }

            public ExtendBean getExtend() {
                return extend;
            }

            public void setExtend(ExtendBean extend) {
                this.extend = extend;
            }

            public String getStatusX() {
                return statusX;
            }

            public void setStatusX(String statusX) {
                this.statusX = statusX;
            }

            public String getPaytime() {
                return paytime;
            }

            public void setPaytime(String paytime) {
                this.paytime = paytime;
            }

            public String getAddtime() {
                return addtime;
            }

            public void setAddtime(String addtime) {
                this.addtime = addtime;
            }

            public String getUptime() {
                return uptime;
            }

            public void setUptime(String uptime) {
                this.uptime = uptime;
            }

            public String getPay_name() {
                return pay_name;
            }

            public void setPay_name(String pay_name) {
                this.pay_name = pay_name;
            }

            public String getMerchant_name() {
                return merchant_name;
            }

            public void setMerchant_name(String merchant_name) {
                this.merchant_name = merchant_name;
            }

            public static class ExtendBean {
                private List<?> coupon;

                public List<?> getCoupon() {
                    return coupon;
                }

                public void setCoupon(List<?> coupon) {
                    this.coupon = coupon;
                }
            }
        }
    }
}
